<?php
namespace Home\Controller;

use Think\Controller;
class MainsController extends ChearkController {

    public function index(){
        $this->name = M('shop')->select();
        $this->display('main:index');
    }
    public function emptys(){
        $is = $_REQUEST['id'];
        $wrs['dia'] =$is;
        M('Address')->where($wrs)->delete();
        $this->display('Order:index');
    }
    public function oredsw(){
        $this->display('Order:orders');
    }

    public function trert(){
        $this->display("Member:dis");
    }
    public function asde(){
        $this->display("Member:refs");
    }
}